package gameServer.model;

public class Poker {
    //扑克id
    private int id;
    //扑克名称
    private String name;
    //扑克面值序号
    private int num;
    //扑克是否打出的标记位
    private boolean isOut;

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getNum() {
        return num;
    }
    public void setNum(int num) {
        this.num = num;
    }
    public boolean isOut() {
        return isOut;
    }
    public void setOut(boolean isOut) {
        this.isOut = isOut;
    }

    //构造函数
    public Poker(){
        super();
    }
    public Poker(int id, String name, int num, boolean isOut) {
        super();
        this.id = id;
        this.name = name;
        this.num = num;
        this.isOut = isOut;
    }
    public Poker(int id, String name, int num) {
        super();
        this.id = id;
        this.name = name;
        this.num = num;
    }
    @Override
    public String toString(){
        return "Poker [id=" + id + ", name=" + name + ", num=" + num + ", isOut=" + isOut + "]";
    }

}
